package com.tansun.easycare.rule.refemodel.dao;

import java.util.List;
import java.util.Map;

import com.tansun.easycare.rule.common.dao.RuleBaseDao;
import com.tansun.easycare.rule.refemodel.entity.RuleReleModel;

/**
 * 规则引用DAO接口
 * @author lixs
 * @version 2019-11-19
 */

public interface RuleReleModelDao extends RuleBaseDao<RuleReleModel> {
	
	
	List<RuleReleModel> findReleModelList(Map<String,String> map);
	
	void  deleteByNodeId(Map<String,String> map);

	/**
	 * 删除组件时候，查看是否有被决策树引用
	 * @param map
	 * @return
	 */
	List<RuleReleModel> findReleModelListForDel(Map<String,String> map);
}